package com.engine4cloud.tdf.supervision.dto.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 字典-响应对象
 *
 * @author wenjie
 * @date 2024-02-29 10:42:47
 */
@Data
@Schema(description = "字典-响应对象")
public class DictSelectResultDTO implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 字典编号
     */
    @Schema(description = "字典编号")
    private String code;

    /**
     * 字典名称
     */
    @Schema(description = "字典名称")
    private String name;

    /**
     * 父编码
     */
    @Schema(description = "父编码")
    private String pcode;


    @Schema(description = "是否叶子节点(仅对树生效，1-是，0-否)", example = "0")
    private Boolean isLeaf;

}